﻿using System.Reflection;

using boda.net.wpf.core.Extensions;

using Prism.Ioc;
using Prism.Modularity;

namespace boda.net.wpf.core;
public class CoreModule : IModule
{
    public void OnInitialized(IContainerProvider containerProvider)
    {
        containerProvider.InitialAssembly(Assembly.GetExecutingAssembly());
    }

    public void RegisterTypes(IContainerRegistry containerRegistry)
    {
        containerRegistry.RegisterAssembly(Assembly.GetExecutingAssembly());
    }
}
